package com.demo.threadExcel;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author: lkz
 * @Title: ExcelThreadApplication
 * @Description: 多线程导出优化
 * @Date: 2023/5/22 21:50
 */
@EnableCaching
@EnableScheduling
@SpringBootApplication
@EnableAsync
@MapperScan("com.demo.threadExcel.mapper")//扫描mapper接口所在的包
public class ExcelThreadApplication {

    public static void main(String[] args) {
        SpringApplication.run(ExcelThreadApplication.class);
    }


}
